<template>
	<view>

		<u-navbar :border-bottom="false" title="发布"></u-navbar>
		<view class="content">
			<!-- 正文内容 -->
			<view>{{ info }}</view>
		</view>

	</view>
</template>

<script>
	import {
		mapActions
	} from 'vuex'
	export default {
		data() {
			return {
				info: []
			};
		},
		onLoad() {
			this.getData();
		},
		methods: {
			...mapActions(['testData']),
			getData() {
				this.testData().then(res => {
					this.info = res.data
				}).catch(err => {

				})
			}
		}
	}
</script>

<style lang="less" scoped>

</style>